package miniprojet.jeux.stateless;

import javax.annotation.PostConstruct;
import javax.ejb.DependsOn;
import javax.ejb.EJB;
import javax.ejb.Singleton;
import javax.ejb.Startup;

@Singleton
@Startup
@DependsOn("TournoiBean")
public class StartBean {

	@EJB
	TournoiLocal tournoi;

	@PostConstruct
	void init() {
		tournoi.peupler();
	}

}
